﻿using System;

namespace Schedulr.Tools
{
    /// <summary>
    /// Represents the callback method that is invoked when an exception occurred in an application that was
    /// started using <see cref="GuardedApplication.Run{TMainForm}(CultureInfo, ExceptionHandlerCallback)"/> method.
    /// </summary>
    /// <param name="exc">The exception to handle.</param>
    public delegate void ExceptionHandlerCallback(Exception exc);
}